package com.wanxi.springboot;

import com.wanxi.springboot.dao.UserDao;
import com.wanxi.springboot.entity.UserEntity;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

@SpringBootTest
public class UserTestFindAll {
    @Autowired
    private UserDao userDao;
    @Test
    public void testfindAll(){
        List<UserEntity> list=userDao.findall();
        System.out.println(list);
    }
}
